$def with (userdata)

<div role="article" class="coursera-body" id="">
	<div class="container">
		<div class="coursera-full-canvas">
			<div style="margin-top: 20px;" class="row">
				<div class="span12">
					$if session.has_key("uid") and session.uid == userdata.id:
						<a href="/account/profile"
							style="float: right" class="internal-home btn">Edit Profile</a>
					<div class="coursera-profile-basics">
						<img src="/static/images/avatar.jpg"
							class="coursera-profile-photo">
						<div class="coursera-profile-top">
							<div>
								<h1 class="coursera-profile-name">$userdata.fullname</h1>
								<span class="coursera-profile-tagline">
								<span>register at: $tempfuns.onlydate(userdata.register_time)</span> </span><span class="coursera-profile-location">location:
								<img src="/static/images/cn.png"><span>中国北京市北京</span>
								</span>
							</div>
						</div>
						<div class="coursera-profile-websites coursera-profile-section">
							<h3>Find Me Here</h3>
							<ul class="unstyled">
								<li><a href="http://linkedin.com/in/"><img
										src="/static/images/linkedin_24_bw.png">http://linkedin.com/in/</a>
								</li>
							</ul>
						</div>
					</div>
					<div class="coursera-profile-courses coursera-profile-section">
						<h3>My Knowledge</h3>
						<div class="coursera-profile-courses-box">
							<a href=""
								class="internal-home"><div
									class="coursera-profile-course-listing-box coursera-course-listing-box">
									<img src="/static/images/ni-logo2.png">
									<div>
										<h4>Networks Illustrated: Principles without Calculus</h4>
										<span>Jul 2nd 2013</span>
									</div>
								</div> </a>
							<div style="clear: left"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>